﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Data;
using WPFExcelReport.Helpers;
using System.Windows.Media; 
namespace WPFExcelReport
{
    /// <summary>
    /// Interaction logic for Machine.xaml
    /// </summary>

    public partial class SpinMachine
    {
        public SpinMachine()
        {
            MV = new VAMSTAMM();
            DataContext = MV;
            InitializeComponent(); 
        } 
        public  void TV_Loaded(object sender, RoutedEventArgs e)
        { 
            this.TVHeight = MGANTT.TVHeight;
        }
        public override void SetUp(bool IsEven)
        { 
            base.SetUp(IsEven);
            DES = int.Parse(dwMachine["AMLFDNR"].ToString().Trim()).ToString();
        }
    }
}
